//
//  Cinema.m
//  MyMovie
//
//  Created by apple on 16/5/21.
//  Copyright © 2016年 ljp. All rights reserved.
//

#import "Cinema.h"

@implementation Cinema

- (instancetype)initWithDictionary:(NSDictionary *)dic {

    self = [super init];
    if (self) {

        self.name = dic[@"name"];
        self.rating = dic[@"grade"];
        self.address = dic[@"address"];
        self.price = dic[@"lowPrice"];
        self.districtID = dic[@"districtId"];
        self.cinameID = dic[@"id"];

        self.isSeatSupport = [dic[@"isSeatSupport"] boolValue];
        self.isGroupBuySupport = [dic[@"isGroupBuySupport"] boolValue];
        self.isCouponSupport = [dic[@"isCouponSupport"] boolValue];
        self.isImaxSupport = [dic[@"isImaxSupport"] boolValue];

    }

    return self;
}

@end
